"""
Author  :lee
Date    :2023/10/29 23:24
Desc    :
"""
from django.forms import Form, ModelForm, fields, widgets
from .models import Questionnaire, Question, Answer


class QuestionnaireForm(ModelForm):

    class Meta:
        model = Questionnaire
        fields = ['questionnaire_name']


class QuestionForm(ModelForm):

    class Meta:
        model = Question
        fields = '__all__'
